import request from '@/utils/request'



// 提前检测生成支付状态
export function checkSalaryData(data) {
  return request({
    url: '/thirteenSalaryGeneratePayment/checkSalaryData',
    method: 'post',
    data
  })
}
// 判断是否生成银行数据
export function getBankDataStatus(query) {
  return request({
    url: '/thirteenSalaryGeneratePayment/getBankDataStatus',
    method: 'get',
    params: query
  })
}

// 撤销生成工资数据
export function revokeSalaryData(data) {
  return request({
    url: '/thirteenSalaryGeneratePayment/revokeSalaryData',
    method: 'post',
    data
  })
}

// 获取支付回复信息
export function getPayBackData(query) {
  return request({
    url: '/thirteenSalaryGeneratePayment/getPayBackData',
    method: 'get',
    params: query
  })
}
export function makeSalaryDataAsync(data) {
  return request({
    url: '/thirteenSalaryGeneratePayment/makeSalaryDataAsync',
    method: 'post',
    data
  })
}
export function getPaymentPercent(query) {
  return request({
    url: '/thirteenSalaryGeneratePayment/getPaymentPercent',
    method: 'get',
    params: query
  })
}
